﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;

namespace WpfCodes
{
    class PageList
    {
        public static string getPage(pageList page)
        {
            switch(page)
            {
                case pageList.Samples_BindingMode:
                    return "Samples/BindingMode.xaml";
                case pageList.Samples_BindingTest:
                    return "Samples/BindingTest.xaml";
                case pageList.Test_ImageTest:
                    return "Test/ImageTest.xaml";
                case pageList.Test_ListBox_Test:
                    return "Test/ListBox_Test.xaml";
                default: 
                    return "MainWindow.xaml";
            }
        }
    }

    public enum pageList
    {
        Default
        ,Samples_BindingMode
        ,Samples_BindingTest
        ,Test_ImageTest
        ,Test_ListBox_Test
    }

}
